<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>申请解禁禁飞区</title>
    <link rel="stylesheet" type="text/css" href="/css/ecalendar.css">
    <link rel="stylesheet" href="/css/vendor/common.css" type="text/css">
    <link rel="stylesheet" href="/css/vendor/cmp-controls.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/css/vendor/page-control.css">
    <link href="/css/vendor/common-grid.less" rel="stylesheet/less" type="text/css">
    <link href="/css/vendor/drone-filter.less" rel="stylesheet/less" type="text/css">
    <script src="/js/less.min.js"></script>
</head>
<body>
<form action="">
    解禁区域信息(base64):<input name="pic" type="text"><br/>
    解禁区域坐标:<input name="area" type="text"><br/>
    申请项目名称:<input name="name" type="text"><br/>
    联系电话:<input name="contact" type="text"><br/>
    公司全称:<input name="company" type="text"><br/>
    起始时间:<input type="date-h" name="begin_at" data-attr="date"
                value="">
    结束时间:<input type="date-h" name="expired_at" data-attr="date"
                value=""><br/>
    申请文件(url):<input name="url" type="text"><br/>
    申请说明:<input name="explain_text" type="text"><br/>
    审批状态:<select name="status">
        <option value="">请选择</option>
        <option value="0">已提交</option>
        <option value="2">已通过</option>
        <option value="3">已拒绝</option>
</select>
    审批说明:<input name="notes" type="text"><br/>

</form>
<button onclick="clickSubmit()">提交</button>

</body>
<script src="/js/jquery-3.2.1.min.js"></script>
<script src="/js/Ecalendar.jquery.min.js"></script>
<script src="/js/vendor/cmp-controls.js"></script>
<script src="/js/vendor/common.js"></script>
<script>
    DataAttrBinder.init();
    function clickSubmit(){

        var data = "action_key=ACTION_ADD&" + $("form").serialize();

        feimaPost("/zone/getLiftNoFlyZone", data, function (result) {
            if (result){
                FAlert(result.message);
            }
        });

    }

</script>
</html>